package general;

import data.type.and.operator.DtoArray;
import data.type.and.operator.DtoEnum;
import data.type.and.operator.DtoOperator;
import demo.collection.EqualsTest;
import demo.collection.GenericTest;
import demo.formater.StringPattern;

public class RunMain {
	public static void main(String[] args) {
	
//		Data type and operator	
//		RunMain.runDataTypeAndOperator();
		
//		Formatter
//		RunMain.runFormatter();
		
//		Collection
		RunMain.runCollection();
	}
	
	public static void runDataTypeAndOperator()
	{
//		Demo Array
		DataTypeNOperator dtoArray = new DtoArray();
		dtoArray.run();
		
//		Demo Enum
		DataTypeNOperator dtoEnum = new DtoEnum();
		dtoEnum.run();
		
//		Demo Operator
		DataTypeNOperator dtoOperator = new DtoOperator();
		dtoOperator.run();
	}
	
	public static void runFormatter(){
		
//		String pattern
		InterfaceFormatter pattern = new StringPattern();
		pattern.run();
	}
	
	public static void runCollection(){
//		Collection
//		InterfaceCollection coll = new EqualsTest();
//		coll.run();
		
//		Generic
		InterfaceCollection gen = new GenericTest();
		gen.run();
	}
	
}
